package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("tb_user")
public class User {
    private String userName;
    private String accountNumber;
    private String password;
    private Date createTime;
    private Date updateTime;
    private int roleId;
    private String imgUrl;
    @TableId(type = IdType.AUTO)
    private int id;
}
